package demo2;

public class Derived extends Base{
   public int a = 2;
   public int b = 2;
   public void methodA(){
       System.out.println("子类的methodA");
   }
   public void text(){
   super.methodA();
       System.out.println(a);
       System.out.println(b);
       System.out.println(super.a);

   }
}
